home *** CD-ROM | disk | FTP | other *** search
- gLabelVersion = zstring_width(zstring: '$$$/Dialogs/PDFXInfo/Version');
- gLabelConformance = zstring_width(zstring: '$$$/Dialogs/PDFXInfo/Conformance');
- gLabelTrapped = zstring_width(zstring: '$$$/Dialogs/PDFXInfo/Trapped');
- gLabelOIntent = zstring_width(zstring: '$$$/Dialogs/PDFXInfo/OIntent');
-
- gLabelItemWidth = max(
- gLabelVerion,
- gLabelConformance,
- gLabelTrapped,
- gLabelOIntent) + max_char_width();
-
- gTrappedTrue = zstring_width(zstring: '$$$avDocOptTrue');
- gTrappedFalse = zstring_width(zstring: '$$$avDocOptFalse');
- gTrappedUnknown = zstring_width(zstring: '$$$avUnknown');
-
- gPopupWidth = max(
- gTrappedTrue,
- gTrappedFalse,
- gTrappedUnknown) + max_char_width();
-
- gStaticItemWidth = gDocPropertiesPanelWidth - gLabelItemWidth - 4 * gMarginWidth - 2 * max_char_width();
-
- dialog(name: '$$$/Dialogs/PDFXInfo')
- {
- view(align_children: align_left)
- {
- cluster(name: '$$$/Dialogs/PDFXInfo', align_children: align_left, dwidth: gDocPropertiesPanelWidth, dheight: gDocPropertiesPanelHeight)
- {
- view(align_children: align_top)
- {
- gap(width: gLabelItemWidth - gLabelVersion);
- static_text(name: '$$$/Dialogs/PDFXInfo/Version', width: gLabelVersion);
- static_text(item_id: 'vers', width: gStaticItemWidth);
- }
- view(align_children: align_row)
- {
- gap(width: gLabelItemWidth - gLabelConformance);
- static_text(name: '$$$/Dialogs/PDFXInfo/Conformance', width: gLabelConformance);
- static_text(item_id: 'conf', width: gStaticItemWidth);
- }
- view(align_children: align_row)
- {
- gap(width: gLabelItemWidth - gLabelTrapped);
- static_text(name: '$$$/Dialogs/PDFXInfo/Trapped', width: gLabelTrapped);
- popup(item_id: 'trpd', width: gPopupWidth);
- }
- view(align_children: align_row)
- {
- gap(width: gLabelItemWidth - gLabelOIntent);
- static_text(name: '$$$/Dialogs/PDFXInfo/OIntent', width: gLabelOIntent);
- static_text(item_id: 'oint', width: gStaticItemWidth);
- button(item_id: 'extr', name: 'Extract');
- }
- }
- }
- }